package com.corner.system.service;


import com.corner.system.domain.Device;
import com.corner.system.domain.Subsidy;
import com.corner.system.domain.SubsidyTemp;
import com.corner.system.domain.vo.SubsidyRequestVo;
import com.corner.system.domain.vo.transferQueryVo;
import com.corner.system.domain.vo.transferRepVo;

import java.util.List;
import java.util.Map;

/**
 * 红包服务类
 */
public interface SubsidyService {

    public void getSubsidyOld(SubsidyRequestVo requestVo) throws Exception;

    public List<Subsidy> querySubsidyByDeviceId(String deviceId,String status) throws Exception;

    public List<Subsidy> selectSubsidy(Subsidy subsidy) throws Exception;

    public Map querySuccessMoney(String deviceId)throws Exception;

    public String approvalBatch(List<SubsidyTemp> subsidyTemps,Long operator);

    public String approvalAll(Long operationAccount,String operatorName,Long approvalId);

    public void changeApprovalFlag(SubsidyTemp subsidyTemp);

    public String getSubsidy(List<Subsidy> subsidyList);

    public List<Subsidy> selecSubsidyList(Subsidy subsidy)throws Exception;

    public List<transferRepVo> selectTransferDetails(transferQueryVo query)throws Exception;
}
